package com.fdd.op.sdk.result;

import com.fdd.op.sdk.internal.mapping.ApiField;
import com.fdd.op.sdk.internal.mapping.ApiListField;

import java.util.Date;
import java.util.List;

public class DocSignImageResult {

    @ApiField("createdDate")
    public Date createdDate;

    @ApiField(value = "contractStatus")
    public Integer contractStatus;

    @ApiField(value = "docId")
    public String docId;

    @ApiField(value = "docTitle")
    public String docTitle;

    @ApiField(value = "images")
    @ApiListField("images")
    private List<DocSignImageInfoVo> images;

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Integer getContractStatus() {
        return contractStatus;
    }

    public void setContractStatus(Integer contractStatus) {
        this.contractStatus = contractStatus;
    }

    public String getDocId() {
        return docId;
    }

    public void setDocId(String docId) {
        this.docId = docId;
    }

    public String getDocTitle() {
        return docTitle;
    }

    public void setDocTitle(String docTitle) {
        this.docTitle = docTitle;
    }

    public List<DocSignImageInfoVo> getImages() {
        return images;
    }

    public void setImages(List<DocSignImageInfoVo> images) {
        this.images = images;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("DocSignImageResult{");
        sb.append("createdDate=").append(createdDate);
        sb.append(", contractStatus=").append(contractStatus);
        sb.append(", docId='").append(docId).append('\'');
        sb.append(", docTitle='").append(docTitle).append('\'');
        sb.append(", images=").append(images);
        sb.append('}');
        return sb.toString();
    }
}
